package com.orange.common.ktx

import com.blankj.utilcode.util.EncryptUtils

/**
 * Description: 哈希，加密相关
 * Created by Orange on 2022/11/14 22:13.
 */

fun String.encrtpyMD5() = EncryptUtils.encryptMD5ToString(this)

fun String.encrtpySHA1() = EncryptUtils.encryptSHA1ToString(this)

fun String.encrtpySHA256() = EncryptUtils.encryptSHA256ToString(this)

fun String.encrtpySHA512() = EncryptUtils.encryptSHA512ToString(this)
